How to flush output after each `echo` call?
Posted
by
CuSS
on Stack Overflow
See other posts from Stack Overflow
or by CuSS
Published on 2010-06-28T14:26:46Z
Indexed on
2011/02/12
15:25 UTC
Read the original article
Hit count: 253
Hi all!
I've a php script that only produces logs to the client.
When I echo something, i wan't it to be transfered to client on-the-fly.
(Because while the script is processing, the page is blank)
I had already played arround with ob_start()
and ob_flush()
, but they didn't worked.
What's the best solution?
PS: it is a little dirty to put a flush at the end of the echo
call...
EDIT: Neither the Answers worked, PHP or Apache Fault?
Thanks in advance, José Moreira
Sorry for my bad English. ;)
© Stack Overflow or respective owner